#-------------------------------------------------------------------------------
# Name:        module1
# Purpose:
#
# Author:      Michael Boesch
#
# Created:     27.08.2010
# Copyright:   (c) Michael Boesch 2010
# Licence:     <your licence>
#-------------------------------------------------------------------------------
#!/usr/bin/env python
"""
The documentation string
"""

def showModuleName():
    return __doc__

def getModuleFile():
   return __file__

a = showModuleName()
b = getModuleFile()

def alpha(a, b=0):
    print a+b

def zeta(alpha, beta):
    print "alpha = ", alpha
    print "beta  = ", beta

def sum(*args):
   '''Function returns the sum
   of all values'''
   r = 0
   for i in args:
      r += i
   return r

def display(**details):
   for i in details:
      print "%s: %s" % (i, details[i])


alpha(1,1)
alpha(1)

print a
print b

zeta(1,2)
zeta(beta=2, alpha=1)
print sum(1,2)
print sum(1,2,3,4,5)

display(girr=2, tirr=1)
